#ifndef RTE_KB1281_DGUS_ABI_H
#define RTE_KB1281_DGUS_ABI_H
#ifdef __cplusplus
extern "C" {
#endif
typedef struct {
    void (*set_var_str)(unsigned short index, unsigned char *var);

    void (*set_var)(unsigned short addr, unsigned int data);

    // void (*set_pvar)(uint16_t addr, uint8_t *data, uint8_t size);

    void (*beep)(unsigned char b);

    void (*set_page)(unsigned char page);

    unsigned char (*get_page)();

    void (*get_var)(unsigned short addr, unsigned char *data, unsigned char size);
} dgus_abi;
extern dgus_abi dgus;
#ifdef __cplusplus
};
#endif
#endif //RTE_KB1281_DGUS_ABI_H
